import Vue from 'vue'
import App from './App'
import store from './store'
import filter from './common/filter'
import enums from './config/enum';


	// const cloud = require('wx-server-sdk');
	// cloud.init();
	// exports.main = async (event) => { return { ...event, ...cloud.getWXContext() } };

import informationTemplate from './common/components/informationTemplate.vue';
import componentFormPicker from './common/components/formPicker.vue';
import componentNavigation from './common/components/navigation.vue';
import componentFormInput from './common/components/formInput.vue';
import componentTabs from './common/components/tabs.vue';

Vue.use(filter)


Vue.component("informationTemplate",informationTemplate);
Vue.component('formPicker', componentFormPicker);
Vue.component('formInput', componentFormInput);
Vue.component("navigation",componentNavigation);
Vue.component("tabs",componentTabs);

Vue.prototype.$enums = enums; // 全局枚举常量
Vue.prototype.$store = store;

Vue.config.productionTip = false 

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
